package cn.sciento.wechat.enterprise.dto;

import java.util.List;

public class DeptListDTO extends DefaultResultDTO {
  private List<DepartmentBean> department;
  
  public List<DepartmentBean> getDepartment() {
    return this.department;
  }
  
  public void setDepartment(List<DepartmentBean> department) {
    this.department = department;
  }
  
  public static class DepartmentBean {
    private Long id;
    
    private String name;
    
    private Long parentid;
    
    private int order;
    
    public Long getId() {
      return this.id;
    }
    
    public DepartmentBean setId(Long id) {
      this.id = id;
      return this;
    }
    
    public String getName() {
      return this.name;
    }
    
    public DepartmentBean setName(String name) {
      this.name = name;
      return this;
    }
    
    public Long getParentid() {
      return this.parentid;
    }
    
    public DepartmentBean setParentid(Long parentid) {
      this.parentid = parentid;
      return this;
    }
    
    public int getOrder() {
      return this.order;
    }
    
    public DepartmentBean setOrder(int order) {
      this.order = order;
      return this;
    }
  }
}
